package com.lili.collection.core.context;

import com.lili.collection.core.config.InputConfig;
import com.lili.collection.core.config.OutputConfig;
import com.lili.collection.core.config.ProcessConfig;
import com.lili.collection.core.handler.IExecValidateHandler;

import java.util.List;

/**
 * 上下文
 *
 * @author lili
 * @date 2023/2/13 20:06
 */
public interface Context {

    InputConfig getInputConfig();

    void setInputConfig(InputConfig inputConfig);

    List<ProcessConfig> getProcessConfigList();

    OutputConfig getOutputConfig();

    void setOutputConfig(OutputConfig outputConfig);

    boolean getStopSignal();

    void setStopSignal(boolean isStop);

    void setValidateHandler(IExecValidateHandler validateHandler);

    IExecValidateHandler getValidateHandler();
}
